﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;

namespace Ventigrate.Shared.PermissiveXFrameHeader.Extensions
{
    public static class HttpRequestExtensions
    {
        public static bool IsAppRedirect(this HttpRequest req)
        {
            bool result = false;

            if (req != null)
            {
                result = req.RawUrl.ToLower().IndexOf("appredirect.aspx") > -1;
            }

            return result;
        }
    }
}
